package com.hmy.infrastructure.service.dingtalk;

import com.hmy.infrastructure.api.bo.request.dingtalk.GetUserRequest;
import com.hmy.infrastructure.api.bo.request.dingtalk.UserBo;

import java.util.List;

public interface IDingTalkUserService {
    /**
     * 同步用户数据
     *
     * @return 用户数据集合
     */
    List<UserBo> syncUserData();

    /**
     * 查询用户详情
     *
     * @param userId 用户id
     * @return 用户详情
     */
    UserBo getUserDetail(String userId);

    UserBo getUserInfo(GetUserRequest getUserRequest);
}
